2b22fe6c3b9dcae338bb80a014f6b5a3287ee83c,app/src/main/java/licola/demo/com/huabandemo/activity/MainActivity.java,MainActivity,initNavGroupButton,#LinearLayout#,157

Before Change


        Drawable drawable = null;
        for (int i = 0, size = group.getChildCount(); i < size; i++) {
            btn = (Button) group.getChildAt(i);
            drawable = DrawableCompat.wrap(ContextCompat.getDrawable(mContext, mDrawableList[i]).mutate());
            DrawableCompat.setTintList(drawable, ContextCompat.getColorStateList(mContext, R.color.tint_list_pink));
            btn.setCompoundDrawablesWithIntrinsicBounds(null, drawable, null, null);
        }
    }

After Change


            btn = (Button) group.getChildAt(i);
            btn.setCompoundDrawablesWithIntrinsicBounds(
                    null,
                    Utils.getTintCompatDrawable(mContext, mDrawableList[i], R.color.tint_list_pink),
                    null,
                    null);
        }